package simulator.ui;

import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Dictionary;
import java.util.HashMap;
import java.util.Hashtable;

import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSlider;

public class PreferencesAction extends AbstractAction
{
   private static final long serialVersionUID = 1L;
   private JFrame parent = null;
   private SimulationController controller = null;
   
   public PreferencesAction(SimulationController controller, JFrame parent)
   {
      this.parent = parent;
      this.controller = controller;
      putValue(Action.NAME, "Properties");
   }
 
   public void actionPerformed(ActionEvent e)
   {
      PropertiesDialog options = new PropertiesDialog(controller, parent);           
   }
}
